package com.itheima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

//注入 ServletComponentScan 注解，使 Spring Boot 自动扫描 Servlet 组件
@ServletComponentScan
@SpringBootApplication
public class TliasApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(TliasApiApplication.class, args);
    }

}
